<?
	require_once "../../_func/__Global.php";
	require_once "../../_func/__Local.php";
	require_once "../../_func/__MysqlFunc.php";
	require_once "../../_func/_BoardFunc.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>:: 농협전북지부 ERP시스템 ::</title>
<link href="/css/layout.css" type="text/css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="http://service2.cafen.net/example/common.css"/>
</head>
<body>
<div id="wrap">

	<!-- header start -->
	<? include("../_layout/head.inc"); ?>
	<!-- header end -->

<?
	$b 		= $param->getString("b");
	$no 		= "";
	$page 	= $param->getNumber('page');
	$qtype 	= $param->getString('qtype');
	$query	= $param->getString('query');
	$menu1 = $param->getString('menu1');
	$menu2 = $param->getString('menu2');
	$mode	 = $param->getString('m','w');
	if ( $mode == "r")
		$no 		= $param->getString("n","");
?>
<script src="/js/bbs.js"></script>

<!-- container start -->
	<div id="container">
    	<div class="subtit">
        	<p class="<?= $subtt_class?>"><span>게시판 > <?= $bbs_name?></span></p>
		</div>
<iframe name=if_nvl id=if_nvl src='' style='display:none'></iframe>
        <div class="contents">

        	<table cellpadding="0" cellspacing="1" border="0" class="bbsTable" style="margin-bottom:0;">
<form name=frm id=frm method=post action=''  enctype="multipart/form-data">
<input type=hidden name=b value='<?echo $b?>'>
<input type=hidden name=m value='<?echo $mode?>'>
<input type=hidden name=no value='<?echo $no?>'>
<input type=hidden name=page value='<?echo $page?>'>
<input type=hidden name=qtype value='<?echo $qtype?>'>
<input type=hidden name=query value='<?echo $query?>'>
<input type=hidden name=menu1 value='<?echo $menu1?>'>
<input type=hidden name=menu2 value='<?echo $menu2?>'>
            	<colgroup>
				<col width="120px" />
                <col width="*" />
                <col width="120px" />
                <col width="*" />
                <col width="120px" />
                <col width="*" />
                </colgroup>
            	<tr>
                    <th>제목</th>
                    <td class="title" colspan="5"><input type="text" name="subject" id="subject" class="boxinput w97p" /></td>
				</tr>


            	<tr>
                    <th>작성자명</th>
                    <td class="title" colspan="5"><input type="text" name="writer_name" id="writer_name" class="boxinput w97p" value="<? echo $session->getString("userid")?>"/></td>
				</tr>



                	<td colspan="6" class="writebox  sdd">
					<textarea name="content" style="border:1px solid #999999; width:99%;margin:5px 15px 0px 0px;padding:0px 0px 0px 0px;" rows="15" ></textarea>
					</td>
                </tr>
                <tr>
                    <th>파일첨부</th>
                    <td class="title" colspan="5"><input type="file" name="upload_file0" id="upload_file0" class="boxinput"/></td>
				</tr>
			</table>
		<?/*<div style="border:1px solid #E2C3B2;">
			<textarea rows="15" cols="55" style="border:1px solid #999999; width:99%;margin:5px 15px 0px 0px;padding:0px 0px 0px 0px;"
				    name="content"
				    id="content"
				    toolbar="simple"
				    topmenu="HSP"
				    skin="white"
				    p2br=false
				    width="970"
				    height="550"></textarea>
		</div>*/?>

            <div class="BtnList">
            	<ul>
                	<li><input type="button" class="btn_submit" onClick="sndFrm();"title="등록"/></li>
                	<li><input type="button" class="btn_cancel" onClick="rstFrm();" title="취소"/></li>
                </ul>
            </div>

        </div>
    </div>
<script>
//var debug_mode = true;
var cafenGlobalConf = {
	uploadSCRIPT : '/ok_editor_v30/upload_v21/upload_fileswf.php',
	uploadURL : '/ok_editor_v30/upload_v21/uploads/',
	scripturl : '/ok_editor_v30/service/',
	maxUploadSize : 1024*1024*20,
	singleUploadSize :1024*1024*10,
	ofc_swfurl : 'open-flash-chart.swf',
	useImageEditor : true,
	useMediaPlayer : true,
	useStaticMap : false,
	useFlashChart : false,
	attachAs : true
}
</script>
<script TYPE="text/JavaScript" LANGUAGE="JavaScript1.2" SRC="http://yaedamchea.com/ok_editor_v30/service/cafen.js" charset="utf-8"></script>
<script>

function CheckForm(form) {
	if (form.raincontents.value == '') {
		return false;
	} else
		return true;
}

//cafen.J$('#content').cafenEditor();


</script>

<!-- container 끝 -->

	<!-- footer start -->
	<? include("../_layout/footer.inc"); ?>
	<!-- footer end -->

</div>
</body>
</html>